package ro.tm.uvt.lp.raccoon;

import com.badlogic.gdx.Application;
import com.badlogic.gdx.Game;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.g2d.Batch;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;

import ro.tm.uvt.lp.raccoon.screens.MainMenuScreen;

public class SaveTheRaccoon extends Game {

    SpriteBatch batch;
    BitmapFont font;
	
	@Override
	public void create () {
        Gdx.app.setLogLevel(Application.LOG_DEBUG);
        batch = new SpriteBatch();

        font = new BitmapFont();
        this.setScreen(new MainMenuScreen(this));
	}

    public void render() {
        super.render(); // important!
    }

    public void dispose() {
        super.dispose();
        batch.dispose();
        font.dispose();

    }

    public Batch getBatch(){
        return this.batch;
    }

    public BitmapFont getFont(){
        return this.font;
    }
}
